#include <iostream>
using namespace std;

int main()
{
    int a,b,c;
    cin >> a >> b >> c;
    if ((c >= a && c >= b)||a == b||(a == c&&c >= b)||(b == c&&c >= a))
    {
        cout << "None" << endl;
    }
    else if (a > c)
    {
        cout << "LeftToRight" << endl;
    }
    else if (b > c)
    {
        cout << "RightToLeft" << endl;
    }
    return 0;
}